<br/>
		
			<ul class="nav nav-tabs">
	<script type="text/javascript">
	var lastTab="system";
	</script>		
<?php 
$tabItems=array("system","contentvalues","tags","acl");
$tabLables=array("Informations","Values","Tags","Acces Rights");
$lastTab="system";
$i=0;

foreach ($tabItems as $tabItem)
{
?>			
  		<li  <?php if ($i==0) echo 'class="active"'; ?> id="<?=$tabItem?>_label"><a href="javascript:toggle_<?=$tabItem?>();"><?=$tabLables[$i] ?></a></li>
  		
  <script type="text/javascript">
<!--

function toggle_<?=$tabItem?>(){

	$('#'+lastTab+'_edit').fadeOut();
	$('#<?=$tabItem?>_edit').fadeIn();

	$('#<?=$tabItem?>_label').toggleClass("active");
	$('#'+lastTab+'_label').toggleClass("active");
	
	lastTab='<?=$tabItem?>';
}

//-->
</script>		
  		
  	<?php
$i++;
  	
}?>
	</ul>

	